#!/bin/sh
RUNNING=`pgrep frpc`
if [ -n "$RUNNING" ];then
	echo "program is running"
else
	echo "starting frpc"
	/root/frpc -c /root/frpc.ini &
fi

#### 上述代码用计划任务执行一下防止断开